//
//  CouponsVc.m
//  WY_Water
//
//  Created by wangyang on 2019/12/24.
//  Copyright © 2019 wangyang. All rights reserved.
//

#import "CouponsVc.h"

@interface CouponsVc ()

@end

@implementation CouponsVc
-(void)viewWillAppear:(BOOL)animated {
    [super viewWillAppear:animated];

    [[AlertControllerCustom shareInstance] showAlert:@"请在支付前让师傅扫码!" viewController:self];
   
}
- (void)viewDidLoad {
    [super viewDidLoad];
    // Do any additional setup after loading the view.
    
    self.navigationItem.title = @"二维码";
       self.view.backgroundColor = [UIColor whiteColor];
       self.navigationController.interactivePopGestureRecognizer.delegate = self;
    
    
     _WybouncedBackImg = [[UIImageView alloc] initWithImage:[UIImage imageNamed:@"二维码"]];
      [self.view addSubview:_WybouncedBackImg];
      [_WybouncedBackImg mas_makeConstraints:^(MASConstraintMaker *make) {
          make.size.equalTo(CGSizeMake(BiLiWidth(291), BiLiWidth(297)));
          make.centerX.equalTo(self.view.centerX);
          make.centerY.equalTo(self.view.centerY);
      }];
    
}

/*
#pragma mark - Navigation

// In a storyboard-based application, you will often want to do a little preparation before navigation
- (void)prepareForSegue:(UIStoryboardSegue *)segue sender:(id)sender {
    // Get the new view controller using [segue destinationViewController].
    // Pass the selected object to the new view controller.
}
*/

@end
